package com.haoze.nurseapp.model;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.haoze.common.model.BaseEntity;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * TASK_NODE_CONDITION_DETAIL
 * @author
 */
@JsonInclude(JsonInclude.Include.NON_NULL)
@Table(name = "idr.TASK_NODE_CONDITION_DETAIL")
public class TaskNodeConditionDetailEntity extends BaseEntity implements Serializable {
    /**
     * 任务节点条件ID
     */
    @Id
    @Column(name = "CONDITION_DETAIL_ID")
    private String conditionDetailId;

    /**
     * 条件ID
     */
    @Column(name = "CONDITION_ID")
    private String conditionId;

    /**
     * 引用数据集ID
     */
    @Column(name = "QUOTE_DATASET_ID")
    private String quoteDatasetId;

    /**
     * 引用数据元ID
     */
    @Column(name = "QUOTE_ELEMENT_ID")
    private String quoteElementId;

    /**
     * 引用模板明细ID
     */
    @Column(name = "QUOTE_TPL_DETAIL_ID")
    private String quoteTplDetailId;

    /**
     * 数据元ID
     */
    @Column(name = "ELEMENT_ID")
    private String elementId;

    /**
     * 数据元选项ID
     */
    @Column(name = "DATA_CODE")
    private String dataCode;

    /**
     * 数据元值
     */
    @Column(name = "DATA_VALUE")
    private String dataValue;

    /**
     * 数值型数据元上限
     */
    @Column(name = "MAX_VALUE")
    private Integer maxValue;

    /**
     * 数值型数据元下限
     */
    @Column(name = "MIN_VALUE")
    private Integer minValue;

    /**
     * 父节点id
     */
    @Column(name = "PARENT_CONDITION_DETAIL_ID")
    private String parentConditionDetailId;

    /**
     *  0:前台新增虚拟节点
     */
    @Column(name = "DETAIL_TYPE")
    private String detailType;


    /**
     *  前端逻辑运算符
     */
    @Column(name = "SYMBOL")
    private String symbol;

    /**
     *  前端逻辑运算符
     */
    @Column(name = "SELF_SYMBOL")
    private String selfSymbol;

    /**
     *  前端逻辑运算符
     */
    @Column(name = "SORT_ID")
    private Integer sortId;

    private static final long serialVersionUID = 1L;

    public String getConditionDetailId() {
        return conditionDetailId;
    }

    public void setConditionDetailId(String conditionDetailId) {
        this.conditionDetailId = conditionDetailId;
    }

    public String getConditionId() {
        return conditionId;
    }

    public void setConditionId(String conditionId) {
        this.conditionId = conditionId;
    }

    public String getQuoteDatasetId() {
        return quoteDatasetId;
    }

    public void setQuoteDatasetId(String quoteDatasetId) {
        this.quoteDatasetId = quoteDatasetId;
    }

    public String getQuoteElementId() {
        return quoteElementId;
    }

    public void setQuoteElementId(String quoteElementId) {
        this.quoteElementId = quoteElementId;
    }

    public String getQuoteTplDetailId() {
        return quoteTplDetailId;
    }

    public void setQuoteTplDetailId(String quoteTplDetailId) {
        this.quoteTplDetailId = quoteTplDetailId;
    }

    public String getElementId() {
        return elementId;
    }

    public void setElementId(String elementId) {
        this.elementId = elementId;
    }

    public String getDataCode() {
        return dataCode;
    }

    public void setDataCode(String dataCode) {
        this.dataCode = dataCode;
    }

    public String getDataValue() {
        return dataValue;
    }

    public void setDataValue(String dataValue) {
        this.dataValue = dataValue;
    }

    public Integer getMaxValue() {
        return maxValue;
    }

    public void setMaxValue(Integer maxValue) {
        this.maxValue = maxValue;
    }

    public Integer getMinValue() {
        return minValue;
    }

    public void setMinValue(Integer minValue) {
        this.minValue = minValue;
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public String getParentConditionDetailId() {
        return parentConditionDetailId;
    }

    public void setParentConditionDetailId(String parentConditionDetailId) {
        this.parentConditionDetailId = parentConditionDetailId;
    }

    public String getDetailType() {
        return detailType;
    }

    public void setDetailType(String detailType) {
        this.detailType = detailType;
    }

    public String getSymbol() {
        return symbol;
    }

    public void setSymbol(String symbol) {
        this.symbol = symbol;
    }

    public String getSelfSymbol() {
        return selfSymbol;
    }

    public void setSelfSymbol(String selfSymbol) {
        this.selfSymbol = selfSymbol;
    }

    public Integer getSortId() {
        return sortId;
    }

    public void setSortId(Integer sortId) {
        this.sortId = sortId;
    }
}